home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19950329-19950528 / 000395_news@columbia.edu_Tue May 16 06:26:05 1995.msg < prev    next >
Internet Message Format  |  2020-01-01  |  3KB

  1. Received: from apakabar.cc.columbia.edu by watsun.cc.columbia.edu with SMTP id AA19499
  2.   (5.65c+CU/IDA-1.4.4/HLK for <kermit.misc@watsun.cc.columbia.edu>); Wed, 17 May 1995 03:20:02 -0400
  3. Received: by apakabar.cc.columbia.edu id AA06471
  4.   (5.65c+CU/IDA-1.4.4/HLK for kermit.misc@watsun); Wed, 17 May 1995 03:19:58 -0400
  5. Path: news.columbia.edu!panix!news.mathworks.com!gatech!news.sprintlink.net!ralph.vnet.net!!root
  6. From: root@.com (System Administrator)
  7. Newsgroups: comp.protocols.kermit.misc
  8. Subject: Re: HELP Call Complete but it isn't
  9. Date: 16 May 1995 06:26:05 GMT
  10. Organization: LittleToNone
  11. Lines: 100
  12. Message-Id: <3p9ghu$5ab@ralph.vnet.net>
  13. References: <3p85se$khb@ralph.vnet.net>
  14. Nntp-Posting-Host: jazzmin.vnet.net
  15. X-Newsreader: TIN [version 1.2 PL2+color]
  16. Apparently-To: kermit.misc@watsun.cc.columbia.edu
  17.  
  18. Hi,
  19.     Me again :) I managed to get the script to work so I am showing what
  20. I changed in case anyone else would want to use the script.
  21.  
  22. flatlndr@vnet.net wrote:
  23. : Hi,
  24. :     I'm having some trouble with a kermit script. The phone dials 
  25. : fine but after the modem's train and connect kermit spits out "Call 
  26. : Complete" and ignores the rest of the script. The script I'm using is below.
  27. : Thanks for any help.
  28.  
  29. : Dan Compton    The Flatlander        flatlndr@vnet.net
  30. :                     flatlndr@cyberspace.com
  31. :                     danc@bigsky.dillon.mt.us
  32. :                     root%bvhd@bigsky.dillon.mt.us
  33. : SET MODEM-DIALER hayes
  34. : SET LINE /dev/cua0
  35.  
  36. : SET SPEED 57600
  37. Cahnged this to 38400
  38.  
  39. : SET PARITY none   
  40. : SET DUPLEX full   
  41. : SET FLOW rts/cts  
  42. : SET FILE TYPE bin 
  43. : SET FILE NAME lit 
  44. : SET REC PACK 1000 
  45. : SET SEND PACK 1000
  46. : SET WINDOW 5
  47. : SET INPUT CASE ignore
  48. : SET INPUT TIMEOUT-ACTION proceed
  49. : SET OUTPUT PACING 10
  50. : SET PROMPT Termnet>  
  51. : SET DIAL DISPLAY on  
  52. : SET DIAL HANGUP on   
  53. : SET DIAL MNP on
  54. : SET DIAL MODEM-HANGUP
  55. : SET DIAL SPEED-MATCHING off
  56. : SET DIAL TIMEOUT 45
  57. : SET DIAL INIT-STRING AT &F &C1 &D0 M0 \13
  58.  
  59. added Q0 to the init string
  60.  
  61. : ;    Somehwere in here is where I think it is bombing
  62.  
  63. : :BEGIN
  64. : CLEAR 
  65. : DIAL 5551234  
  66.  
  67. : INPUT 10 CONNECT
  68. : IF FAILURE GOTO BEGIN
  69. : ELSE GOTO LOGIN
  70.  
  71. Commented out the above 3 lines
  72.  
  73. : :LOGIN
  74.  
  75. : INPUT 10 ogin:
  76.  
  77. Changed this to the very first thing my remote host spits out. Also added a
  78. PAUSE 3 line after this.
  79.  
  80. : IF FAILURE GOTO BEGIN
  81. : ELSE OUTPUT username\13
  82. : INPUT 10 assword:
  83. : IF FAILURE GOTO BEGIN
  84. : ELSE OUTPUT password\13
  85. : INPUT 10 $
  86. : IF FAILURE GOTO BEGIN
  87. : ELSE OUTPUT rlogin jazzmin.vnet.net -l flatlndr -8 -L\13
  88. : INPUT 10 assword:
  89. : IF FAILURE GOTO BEGIN
  90. : ELSE OUTPUT jazzminpassword\13
  91. : OUTPUT \13
  92. : PAUSE 2
  93. : OUTPUT net\13
  94. : PAUSE 1
  95. : QUIT   
  96.  
  97. : ;
  98. : ; If modem not working exit.
  99. : ;
  100.  
  101. : :END
  102. : ECHO Modem Initialization Failure...
  103. : ECHO Exiting Program...
  104. : QUIT
  105.  
  106.  
  107. : ; Done!
  108.  
  109.     That's it! :) I'm going to now poke around and try to add this to my
  110. .profile file so the connection is made whenever I login. And then add some
  111. crontab entries to get and send the mail. If anyone is interested drop an
  112. e-mail to me and I'll get back to ya.
  113.  
  114. Dan Compton    The Flatlander        flatlndr@vnet.net
  115.                     flatlndr@cyberspace.com
  116.                     danc@bigsky.dillon.mt.us
  117.                     root%bvhd@bigsky.dillon.mt.us